package com.haixiaoke.saas.repository.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 流动用户记录对象 biz_user_floating_population_record
 *
 * @author qixi
 * @date 2023-07-25
 */
@Data
// @JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserFloatingPopulationRecordVo {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long populationId;
    /** 成员id */
    private Long houseUserId;
    /** ids */
    private List<Long> populationIds;

    /** 组织id */
    private Long orgId;

    /** 用户id */
    private String userId;

    /** 用户手机号 */
    private String userPhone;

    /** 用户名 */
    private String userName;

    /** 房屋id */
    private String houseId;

    /** 记录类型：1入住 2退租*/
    private Integer type;

    /**
     * 小区名
     */
    // e_community_name
    private String eCommunityName;

    /** 楼栋 */
    private Long buildingNum;/** 楼栋 */
    private String buildingNumName;

    /** 单元 */
    private Long unit;
    private String unitName;

    /** 房号 */
    private String roomNumber;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonSerialize(include = JsonSerialize.Inclusion.NON_EMPTY )
    private Date createTime;

    /**
     * 迁出时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonSerialize(include = JsonSerialize.Inclusion.NON_EMPTY)
    private Date quitTime;

    private String createTimeFormat;

    private String quitTimeFormat;


}
